/*聊天消息*/
.chat-msg-box .reward-msg{
    margin:10px auto;
    text-align:center;
}
.chat-msg-box .reward-msg .msg-content{
    font-size:14px;
    line-height:30px;
    color:#ba8951;
    padding:5px 10px;
    background:#fef4e0;
    border-radius:5px;
}
.chat-msg-box .reward-msg .msg-content .red-icon{
    display:inline-block;width:18px;height:18px;
    background-repeat:no-repeat;background-position:center center;background-size:auto 100%;
    background-image: url("../../live/images/red_icon.png");
    vertical-align: sub;
}
.chat-msg-box .reward-msg .msg-content .gift-img{
    display:inline-block;width:60px;height:60px;
    background-repeat:no-repeat;background-position:center center;background-size:auto 100%;
    vertical-align: sub;
}
.chat-msg-box .reward-msg .msg-content .gift-number{
    font-size:16px;
    color:#fe0101;
}
.chat-msg-box .reward-msg .msg-content .reward—text{
    color:#fe0101;
}
.chat-msg-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex !important;
    margin-bottom:5px;
}

.chat-msg-item .avatar {
    margin: 10px 10px 0 0;
    flex-grow: 0;
    flex-shrink: 0
}

.chat-msg-item .msg-info-box {
    flex: 1;
    margin-right: 30px;
    min-width: 0;
}

.chat-msg-item .user-name {
    font-size: 12px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #797a7b;
    margin-bottom:5px;
}
.chat-msg-item .user-name .badge{border-radius:3px;}
.chat-msg-item .user-name .badge.badge-host{color:#fff;background:#fc375c}
.chat-msg-item .user-name .badge.badge-guests{color:#fff;background:#ff7e00}
.chat-msg-item .user-name .badge.badge-assistant{color:#fff;background:#2e67ff}

.chat-msg-item .msg-content {
    font-size: 14px;
    line-height: 20px;
    padding:5px 10px;
    background: #f7f7f7;
    color: #333;
    border-radius: 5px;
    text-align: justify;
    position: relative;
    display: inline-block;
    width: auto;
    word-wrap:break-word;
    max-width:100%;
}

.chat-msg-item .msg-content .emoji_icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.chat-msg-item .msg-content:after {
    content: '';
    width: 0;
    height: 0;
    border-top: 1px solid transparent;
    border-right: 6px solid #f7f7f7;
    border-bottom: 6px solid transparent;
    position: absolute;
    left: -6px;
    top: 8px;
}

.chat-msg-item.my-msg .avatar {
    order: 2;
    margin: 5px 0 0 10px;
}

.chat-msg-item.my-msg .msg-info-box {
    order: 1;
    margin-left: 30px;
    margin-right: 0;
}

.chat-msg-item.my-msg .user-name {
    text-align: right
}

.chat-msg-item.my-msg .msg-content {
    margin-top: 8px;
    float: right;
}

.chat-msg-item.my-msg .msg-content:after {
    border-top: 1px solid transparent;
    border-left: 6px solid #f7f7f7;
    border-right: none;
    border-bottom: 6px solid transparent;
    left: auto;
    right: -6px;
    top: 8px;
}
.chat-msg-item .msg-content .gift-img{width:40px;vertical-align:sub;}
.chat-msg-item .msg-content .gift-number{font-size:16px;color:#f81824;}
.chat-msg-item .msg-content .gift-img.gift-1{width:40px;}
.chat-msg-item .msg-content .gift-img.gift-2{width:50px;}
.chat-msg-item .msg-content .gift-img.gift-3{width:60px;}
.chat-msg-item .msg-content .gift-img.gift-4{width:70px;}
.chat-msg-item .msg-content .gift-img.gift-5{width:80px;}
.chat-msg-item .msg-content .gift-img.gift-6{width:90px;}
.chat-msg-item .msg-content .gift-img.gift-7{width:100px;}
.chat-msg-item .msg-content .gift-img.gift-8{width:110px;}

.send-msg-box {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    padding: 5px 10px;
    z-index: 999;
    flex: none;
}
.send-msg-box:after {
    content: '';
    width: 100%;
    height: 0;
    border-top: 1px solid #e8e8e8;
    transform: scaleY(0.5);
    position: absolute;
    top: 0;
    left: 0;
}

.send-msg-box:before {
    content: '';
    width: 100%;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 1px;
    left: 0;
    z-index: 1;
}
.send-msg-box .footer-menu{
    width:30px;
    height:30px;
    flex:none;
    position: relative;
    margin:0 5px;
}
.send-msg-box .footer-menu .more-icon{
    display:block;
    font-size:24px;
    line-height:30px;
    color:#333;
    position: relative;
    z-index:2;
}
.send-msg-box .footer-menu .more-box{
    width:40px;
    height:0;
    position:absolute;
    left:-5px;
    top:40px;
    -webkit-transition:all 0.2s ease-in-out 0s;
    -moz-transition:all 0.2s ease-in-out 0s;
    -ms-transition:all 0.2s ease-in-out 0s;
    -o-transition:all 0.2s ease-in-out 0s;
    transition:all 0.2s ease-in-out 0s;
    z-index:0;
    overflow:hidden;
}
.send-msg-box .footer-menu.show .more-box{
    height:auto;
    top:0;
    transform:translateY(-110%);
}

.send-msg-box .item-icon {
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1;
    margin:5px 0;
}

.send-msg-box .item-icon img {
    width: 40px;
    height: 40px;
}

.send-msg-box .msg-input {
    width: 100%;
    height: 40px;
    line-height:40px;
    padding: 0 10px;
    font-size: 14px;
    background: #f3f3f3;
    border: none;
    border-radius: 20px;
    outline: none;
    position: relative;
    z-index: 1;
    margin-right:5px;
}
.send-msg-box .msg-input .emoji_icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.send-msg-box .send-btn {
    position: relative;
    z-index: 1;
    display:none;
}

.send-msg-box .emoji-icon-box {
    flex: none;
    margin-right: 8px;
    position: relative
}

.send-msg-box .emoji-icon-box .iconfont {
    font-size: 30px;
    line-height: 40px;
    color: #989898;
    position: relative;
    z-index: 1;
}

.send-msg-box .emoji-icon-box .emoji-container {
    width: 100vw;
    height: 200px;
    position: absolute;
    top: 500px;
    left: -10px;
    background: #f7f7f7;
    z-index: 0;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -ms-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}

.send-msg-box .emoji-icon-box.active .emoji-container {
    top: -210px;
}

.send-msg-box .emoji-icon-box .emoji-container li {
    list-style: none;
}
.send-msg-box .footer-icon{display:block;width:40px;height:40px;flex:none;margin:0 2px;background-repeat:no-repeat;background-position:left center;background-size:auto 40px;background-image: url("/static/live/images/footer_icon.png?v=1");position:relative;z-index:1;}
.send-msg-box .footer-icon.ask-icon{background-position:left center;}
.send-msg-box .footer-icon.reward-icon{background-position:-40px center;}
.send-msg-box .footer-icon.gift-icon{background-position:-80px center;}
.send-msg-box .footer-icon.shipping-icon{background-position:-120px center;}
.send-msg-box .footer-icon.zan-icon{background-position:-160px center;}
.send-msg-box .footer-icon.share-icon{background-position:-200px center;}
.send-msg-box .footer-icon.zan-icon .zan-number{display:inline-block;padding:0 3px;height:16px;border-radius:8px;color:#fff;font-size:12px;line-height:16px;background:#ffa00b;position:absolute;bottom:0;left:50%;transform: translateX(-50%)}
.send-msg-box .footer-icon.zan-icon .zan-number.hide{display:none;}
.send-msg-box.input-status .footer-icon{display:none;}
.send-msg-box.input-status .send-btn{display:block;}
#zan-box{width:170px;height:300px;position:fixed;bottom:40px;right:-20px;pointer-events:none;z-index:100;transform:rotate(-15deg) scale(0.6);
-ms-transform:rotate(-15deg); 	/* IE 9 */
-moz-transform:rotate(-15deg); 	/* Firefox */
-webkit-transform:rotate(-15deg); /* Safari 和 Chrome */
-o-transform:rotate(-15deg); 	/* Opera */}
.emoji-container .group-tabs {
    height: 40px;
    padding: 10px;
    border: 1px solid #e8e8e8;
    border-width: 1px 0;
}
.emoji-container .group-tabs .group-item {
    font-size: 14px;
    float: left;
    padding: 0 10px;
    line-height: 20px;
    background: #f7f7f7;
    border-radius: 3px;
    margin: 0 5px;
}

.emoji-container .group-tabs .group-item.active {
    background: #33cabb;
    color: #fff;
}

.emoji-container .items-box {
    height: 160px;
    overflow-y: auto;
    padding: 10px;
    background: #fff;
}

.emoji-container .items-box .emoji-items {
    width: 100%;
    height: auto;
    display: none;
}

.emoji-container .items-box .emoji-items:after {
    display: block;
    content: '';
    height: 0;
    overflow: hidden;
    clear: both;
}

.emoji-container .items-box .emoji-cell {
    width: 10%;
    height: 0;
    padding-bottom: 10%;
    float: left;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 80% 80%;
}

.user-tool {
    position: fixed;
    right: 10px;
    bottom: 80px;
    z-index: 99;
    width: 40px;
}

.user-tool .item-icon {
    width: 40px;
    height: 40px;
    display: block;
    text-align: center;
}

.user-tool img {
    width: 36px;
}

.weui-popup__overlay, .weui-popup__container {
    z-index: 9999;
}

.weui-popup__modal {
    z-index: 999999;
    background: none;
}

/*打赏*/
.reward-popup .weui-popup__modal {
    height: 400px;
    width: 330px;
    background: #ea0e28;
    padding: 20px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    position: relative;
    overflow: inherit
}

.reward-popup .weui-popup__modal:after {
    content: '';
    height: 150px;
    width: 100%;
    background: #cf0019;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 0 0 10px 10px;
}

.reward-popup .weui-popup__modal .close-popup {
    position: absolute;
    right: 5px;
    top: 5px;
    display: block;
    width: 24px;
    height: 24px;
}

.reward-popup .weui-popup__modal .close-popup:after {
    content: '';
    width: 24px;
    height: 0;
    border-top: 2px solid #ba001a;
    position: absolute;
    top: 12px;
    left: 0;
    transform: rotate(45deg);
    -ms-transform: rotate(45deg); /* IE 9 */
    -moz-transform: rotate(45deg); /* Firefox */
    -webkit-transform: rotate(45deg); /* Safari 和 Chrome */
    -o-transform: rotate(45deg); /* Opera */
}

.reward-popup .weui-popup__modal .close-popup:before {
    content: '';
    width: 24px;
    height: 0;
    border-top: 2px solid #ba001a;
    position: absolute;
    top: 12px;
    left: 0;
    transform: rotate(-45deg);
    -ms-transform: rotate(-45deg); /* IE 9 */
    -moz-transform: rotate(-45deg); /* Firefox */
    -webkit-transform: rotate(-45deg); /* Safari 和 Chrome */
    -o-transform: rotate(-45deg); /* Opera */
}

.reward-popup .reward-info {
    height: 200px;
    text-align: center;
}

.reward-popup .pop-title {
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    color: #ffae00;
}

.reward-popup .join-div {
    width: 100%;
    height: 100px;
    top: 200px;
    padding: 0 20px;
    overflow: hidden;
    position: absolute;
    left: 0;
    z-index: 0;
}

.reward-popup .join-div:after {
    content: '';
    width: 120%;
    height: 100px;
    border-radius: 50%;
    background: #cf0019;
    position: absolute;
    top: 0;
    left: -10%;
    z-index: 0;
}

.reward-popup .join-div .join-div-item {
    width: 100%;
    height: 100px;
    overflow: hidden;
    display: block;
    position: relative;
}

.reward-popup .join-div .join-div-item:after {
    content: '';
    width: 140%;
    height: 100px;
    border-radius: 50%;
    background: #fffbd9;
    position: absolute;
    top: 0;
    left: -20%;
    z-index: 1;
}

.reward-popup .reward-items-box {
    height: 200px;
    background: #fffbd9;
    position: relative;
    z-index: 1;
    padding: 20px;
    border-radius: 0 0 10px 10px;
}

.reward-popup .reward-items-box:after {
    content: '';
    width: 94%;
    height: 200px;
    position: absolute;
    bottom: 3%;
    left: 3%;
    border: 1px solid #ffdaaf;
    border-width: 0 1px 1px 1px;
    border-radius: 0 0 10px 10px;
    pointer-events: none;
}

.reward-popup .reward-items-box .reward-item {
    display: block;
    float: left;
    width: 30%;
    height: 40px;
    margin: 10px 1.66%;
    border: 1px solid #cf0019;
    border-radius: 10px;
    font-size: 18px;
    line-height: 40px;
    text-align: center;
    color: #cf0019
}

.reward-popup .reward-items-box .reward-custom {
    display: block;
    font-size: 16px;
    line-height: 40px;
    text-align: center;
    color: #cf0019
}

.reward-popup .swiper-next,
.reward-popup .swiper-prev {
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    right: 0;
    top: 50%;
    margin-top: -20px;
    z-index: 99;
}

.reward-popup .swiper-prev {
    left: 0;
    right: auto;
}

.reward-popup .swiper-next:before,
.reward-popup .swiper-prev:before {
    content: '\e84f';
    font-size: 24px;
    color: #ffae00;
    display: block;
}

.reward-popup .swiper-prev:before {
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
}

.reward-popup .text-color {
    color: #ffae00
}

.reward-popup .host-item .mc-thumb-square {
    margin: 0 auto;
}

.reward-popup .host-item .host-name {
    font-size: 16px;
    line-height: 40px;
    color: #fff;
}

/*礼物弹窗*/
.gift-popup .weui-popup__modal {
    height: auto;
    width: 100%;
    background: #fff;
    left: 0;
    bottom: 0;
    position: fixed;
}

.gift-popup .gift-header {
    border-bottom: 1px solid #e8e8e8;
    padding: 5px 10px;
    background:#f5f5f5;
}

.gift-popup .gift-info {
    margin-bottom: 10px;
}

.gift-popup .gift-item {
    display: block;
    text-align: center;
    width:25%;
    float:left;
    padding:10px;
    position:relative;
}
.gift-popup .gift-item.active:before{
    content:'';
    width:94%;
    height:94%;
    border:2px solid #fe4800;
    position:absolute;
    left:3%;
    top:3%;
    border-radius:10px;
}
.gift-popup .gift-item .mc-thumb-square {
    margin: 0 auto
}

.gift-popup .gift-item .gift-name {
    font-size: 14px;
    line-height: 24px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gift-popup .gift-item .gift-price {
    display:block;
    font-size: 14px;
    line-height:24px;
    height:24px;
    color: #000;
    background:#f2f2f2;
    text-align:center;
    border-radius:12px;

}

.gift-popup .weui-popup__modal .close-popup {
    display: block;
    width: 16px;
    height: 16px;
    position: relative;
}

.gift-popup .weui-popup__modal .close-popup:after {
    content: '';
    width: 16px;
    height: 0;
    border-top: 2px solid #989898;
    position: absolute;
    top: 8px;
    left: 0;
    transform: rotate(45deg);
    -ms-transform: rotate(45deg); /* IE 9 */
    -moz-transform: rotate(45deg); /* Firefox */
    -webkit-transform: rotate(45deg); /* Safari 和 Chrome */
    -o-transform: rotate(45deg); /* Opera */
}

.gift-popup .weui-popup__modal .close-popup:before {
    content: '';
    width: 16px;
    height: 0;
    border-top: 2px solid #989898;
    position: absolute;
    top: 8px;
    left: 0;
    transform: rotate(-45deg);
    -ms-transform: rotate(-45deg); /* IE 9 */
    -moz-transform: rotate(-45deg); /* Firefox */
    -webkit-transform: rotate(-45deg); /* Safari 和 Chrome */
    -o-transform: rotate(-45deg); /* Opera */
}

.gift-popup .gif-form {
    padding: 5px 10px;
    border-top: 1px solid #e8e8e8;
    background: #f7f7f7;
}

.gift-popup .gif-form .select {
    width: 120px;
    height: 30px;
    border: 1px solid #e8e8e8;
    line-height: 30px;
    margin-right: 10px;
}

/*打赏弹窗*/
.reward-popup2 .weui-popup__modal {
    height: 477px;
    width: 320px;
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    background-image:url(../../live/images/reward_bg.png);
    padding: 212px 20px 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -60%);
    border-radius: 10px;
    position: relative;
    overflow: inherit
}
.reward-popup2 .reward-money{
    color:#fdef92;
    text-align:center;
    height:57px;
    overflow:hidden;
}
.reward-popup2 .reward-money .money{font-size:32px;line-height:36px;}
.reward-popup2 .reward-money .yuan{font-size:14px;}
.reward-popup2 .reward-money .money_desc{font-size:14px;line-height:20px;color:#fff;}
.reward-popup2 .reward-items-box {
    height: 150px;
    position: relative;
    z-index: 1;
    padding: 5px;
    overflow:hidden;
}
.reward-popup2 .reward-items-box .reward-item {
    display: block;
    float: left;
    width: 80px;
    height: 35px;
    line-height:35px;
    margin:5px;
    background-repeat:no-repeat;background-position:center center;background-size:cover;
    background-image:url("../../live/images/reward_money_btn.png");
    font-size: 18px;
    text-align: center;
    color: #e91924;
    overflow: hidden;text-overflow:ellipsis;white-space: nowrap;
}
.reward-popup2 .reward-items-box .reward-item.active{
    background-image:url("../../live/images/reward_money_btn_on.png");
    color: #fff;
}
.reward-popup2 .reward-items-box .reward-item .yuan{font-size:14px;margin-left:2px;}
.reward-popup2 .reward-pay{display:block;width:100%;height:50px;position:absolute;bottom:10px;left:0;}

.ask-popup .weui-popup__modal {
    height: auto;
    width: 100%;
    background: #f5f5f5;
    left: 0;
    bottom: 0;
    position: fixed;
    padding:5px 10px 10px;
}
.ask-popup .ask-header {
    padding: 5px 10px 10px;
    background:#f5f5f5;
    text-align:center;
}

.ask-popup ask-info {
    margin-bottom: 10px;
}

.ask-popup .btn{border-radius:17px;color:#fff;}
.ask-popup .btn-list{background-image: linear-gradient(to right, #009bfe 0%, #0074bf 100%);}
.ask-popup .btn-ask{background-image: linear-gradient(to right, #fc8154 0%, #ff4a04 100%);}
.ask-popup .weui-popup__modal .close-popup {
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    top:5px;
    right:10px;
}

.ask-popup .weui-popup__modal .close-popup:after {
    content: '';
    width: 16px;
    height: 0;
    border-top: 2px solid #989898;
    position: absolute;
    top: 8px;
    left: 0;
    transform: rotate(45deg);
    -ms-transform: rotate(45deg); /* IE 9 */
    -moz-transform: rotate(45deg); /* Firefox */
    -webkit-transform: rotate(45deg); /* Safari 和 Chrome */
    -o-transform: rotate(45deg); /* Opera */
}

.ask-popup .weui-popup__modal .close-popup:before {
    content: '';
    width: 16px;
    height: 0;
    border-top: 2px solid #989898;
    position: absolute;
    top: 8px;
    left: 0;
    transform: rotate(-45deg);
    -ms-transform: rotate(-45deg); /* IE 9 */
    -moz-transform: rotate(-45deg); /* Firefox */
    -webkit-transform: rotate(-45deg); /* Safari 和 Chrome */
    -o-transform: rotate(-45deg); /* Opera */
}
.ask-list{}
.ask-list .ask-item{display:block;padding:5px 10px;background:#f5f5f5;margin-bottom:10px;color:#000;border-radius:5px;}
.ask-list .ask-item.item-status-0{background:#f5f5f5;}
.ask-list .ask-item.item-status-1{background:#d9edf7;}
.ask-list .ask-item .item-head{color:#2c2d2e;font-size:12px;line-height:24px;border-bottom:1px solid #ccc;padding:5px;}
.ask-list .ask-item .item-content{font-size:12px;line-height:18px;text-align:justify;padding:5px;}
.ask-list .ask-item.item-status-1 .item-head{border-bottom:1px solid #bce8f1;}
.share-popup{background:rgba(0,0,0,0.5);padding:20px;}
.share-popup .close-btn{display:block;width:32px;height:32px;margin:10px auto;text-align:center;line-height:32px;border:1px solid #f7f7f7;border-radius:50%;}
.share-popup .close-btn .iconfont{font-size:18px;color:#fff;}
.share-theme-box{width:300px;height:538px;margin:0 auto;position:relative;overflow:hidden;}
.share-theme-box.theme01{}
.share-theme-box.theme01 .share_bg{width:100%;height:100%;position:absolute;z-index:0;left:0;top:0;}
.share-theme-box.theme01 .user-info{text-align:center;position:absolute;top:80px;width:100%;z-index:1}
.share-theme-box.theme01 .user-info .avatar{width:42px;height:42px;border-radius:50%;margin:0 auto;overflow:hidden;position:relative}
.share-theme-box.theme01 .user-info .avatar img{width:100%;height:auto;position:absolute;left:0;top:50%;transform: translateY(-50%)}
.share-theme-box.theme01 .user-info .user-name{font-size:13px;line-height:20px;color:#7b4725;}
.share-theme-box.theme01 .user-info .split-line{font-size:12px;line-height:18px;color:#7b4725;position:relative}
.share-theme-box.theme01 .user-info .split-line:before{content:'';width:40px;height:0;border-top:1px solid #7b4725;position:absolute;left:50%;top:9px;margin-left:-100px;}
.share-theme-box.theme01 .user-info .split-line:after{content:'';width:40px;height:0;border-top:1px solid #7b4725;position:absolute;left:50%;top:9px;margin-left:60px;}
.share-theme-box.theme01 .live-info{position:absolute;top:175px;width:220px;left:50%;margin-left:-110px;text-align:center;z-index:1;}
.share-theme-box.theme01 .live-info .live-title{font-size:16px;line-height:24px;font-weight:600;color:#7b4725;padding:5px 8px;margin-bottom:15px;}
.share-theme-box.theme01 .live-info .share-desc{font-size:12px;line-height:20px;color:#6a6358;}
.share-theme-box.theme01 .live-info .share-img{width:100%;height:0;padding-bottom:45%;margin-top:5px;position:relative}
.share-theme-box.theme01 .live-info .share-img img{width:100%;height:auto;position:absolute;left:0;top:0;}
.share-theme-box.theme01 .qrcode{position:absolute;bottom:75px;width:50px;height:50px;left:50%;margin-left:-25px;z-index:1;}
.share-theme-box.theme01 .qrcode img{width:100%;height:100%;}
/*公告*/
.notice-box {
    width: 100%;
    height:30px;
    line-height:30px;
    overflow: hidden;
    position:absolute;
    top:0;
    left:0;
    background:#f96868;
    z-index:9999;
    margin-left:0;
    padding-right:30px;
    display:block;
}
.notice-box .noice-icon{display:block;width:30px;height:30px;text-align:center;font-size:18px;line-height:30px;position:absolute;left:0;top:0;color:#fff;}
.notice-box .close-icon{display:block;width:30px;height:30px;text-align:center;font-size:16px;line-height:30px;position:absolute;right:0;top:0;color:#fff;}
.notice-box .bd {margin-left:30px;overflow:hidden}
.notice-box ul {white-space: nowrap;}
.notice-box .notice-item{
    list-style:none;
    font-size:12px;
    color:#fff;
    display: inline-block;
    padding:0 10px;
    min-width:200px;
}
/*.notice-box.box-off{width:30px;border-radius:15px;margin-left:10px;}*/
.notice-box.box-off{display:none;}
.notice-box.box-off .bd{margin:0;display: none;}
.notice-box.box-off .close-icon{display:none;}

#page-main img{max-width: 100%;}

.gift-show-box{width:100%;height:100%;position:fixed;top:0;left:0;pointer-events:none;z-index:999;}
.gift-show-box .gift-item{width:auto;height:40px;position:absolute;top:50%;left:15px;pointer-events:none; background:rgba(0,0,0,0.6);
    border-radius:20px;display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex!important;
    align-items: flex-end;
}
.gift-show-box .gift-item .user-avatar{width:30px;height:30px;margin:5px;border-radius:50%;flex:none;}
.gift-show-box .gift-item .user-info{flex:auto;font-size:14px;line-height:20px;min-width:0;color:#fff;}
.gift-show-box .gift-item .user-info .name{overflow: hidden;text-overflow:ellipsis;white-space: nowrap;}
.gift-show-box .gift-item .user-info .gift-name{font-size:12px;overflow: hidden;text-overflow:ellipsis;white-space: nowrap;}
.gift-show-box .gift-item .gift-img{width:50px;height:50px;margin-left:5px;flex:none;}
.gift-show-box .gift-item .gift-num{width:50px;height:40px;line-height:40px;position:absolute;right:-50px;top:0;}
.gift-show-box .gift-item.two{margin-top:55px;}

@-webkit-keyframes giftnumIn {
    from {
        opacity: 0;
        -webkit-transform: scale3d(2, 2, 2);
        transform: scale3d(2, 2, 2);
    }

    50% {
        opacity: 1;
    }
}

@keyframes giftnumIn {
    from {
        opacity: 0;
        -webkit-transform: scale3d(2, 2, 2);
        transform: scale3d(2, 2, 2);
    }

    50% {
        opacity: 1;
    }
}

.giftnumIn {
    -webkit-animation-name: giftnumIn;
    animation-name: giftnumIn;
}

.online-item{padding:5px;}
.online-item .nick{font-size:14px;color:#333;}
.online-item .badge{border-radius:3px;}
.online-item .badge.badge-host{color:#fff;background:#fc375c}
.online-item .badge.badge-guests{color:#fff;background:#ff7e00}
.online-item .badge.badge-assistant{color:#fff;background:#2e67ff}
.online-item .badge.badge-vip{color:#505050;background:#e9c341}
.online-item .action-btn{
    display:inline-block;
    width:24px;height:24px;
    text-align:center;line-height:24px;
    font-size:18px;
    color:#989898;
    font-family: "iconfont" !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;}
.online-item .forbid-icon:before{content:'\e66b'}
.online-item .forbid-icon.active:before{content:'\e666'}
.online-item .black-icon:before{content:'\e61d'}
.online-item .msg-icon:before{content:'\e623'}
.online-item .action-btn.active,
.online-item .action-btn:hover {color: #f96868;}